package com.oauth2_security.exception;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.oauth2_security.model.RestFulVO;

public class RequestAuthorizationException extends BaseCommonException {
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	Logger logger = LoggerFactory.getLogger(RequestAuthorizationException.class);

    public RequestAuthorizationException(RestFulVO<Object> restFulVO){
        super(restFulVO);
        logger.error("{}:{}", restFulVO.getRestCode(),restFulVO.getRestMsg());
    }
}
